import java.util.HashMap;

public class ThreadLocalTest {
    static  ThreadLocal<Long> startTimeThreadLocal = new ThreadLocal<Long>();
    static  ThreadLocal<Long> startTimeThreadLocal3 = new ThreadLocal<Long>();
    static  ThreadLocal<String> startTimeThreadLocal2 = new ThreadLocal<String>();
    public static void main(String[] args) {
        startTimeThreadLocal.set(1l);
        startTimeThreadLocal2.set("111111111111111111111112");
        startTimeThreadLocal3.set(2l);
        System.out.println(startTimeThreadLocal.get());
        System.out.println(startTimeThreadLocal2.get());
        startTimeThreadLocal3.remove();
        HashMap s = new HashMap();
        s.put("1",1);
        System.out.println(startTimeThreadLocal3.get());
    }
}
